import unittest
import HTMLTestRunner

from TS.testcase.test_get import test_get


class start:
    def start(self):
        su=unittest.TestSuite(unittest.TestLoader().loadTestsFromTestCase(test_get))
        f = open("report.html", "wb")
        r = HTMLTestRunner.HTMLTestRunner(
            stream=f,
            title='tinyshop测试报告',
            description="通过情况"
        )

        r.run(su)
        f.close()


a = start()
a.start()
